package homework.day06;

/**
 * @author ThinkBook
 */
public class Test {
    public static void main(String[] args) {
        new  Test().info();
    }
    {//局部代码块
        System.out.println("代码块");
    }
    static {//静态代码块
        System.out.println("test static 2");
    }


    public Test() {
        System.out.println("构造器");
    }
    public void info() {
        System.out.println("info");
    }
    static {//静态代码块
        System.out.println("test static 1");
    }
}

